package com.houweishi.module.realReport.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.houweishi.common.annotation.Excel;
import com.houweishi.common.core.domain.BaseEntity;

/**
 * 实时汇报对象 hws_real_report
 * 
 * @author yqq
 * @date 2023-06-28
 */
public class RealReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 部门 */
    @Excel(name = "部门")
    private String departmentName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 公司 */
    @Excel(name = "公司")
    private String company;

    /** 岗位id */
    @Excel(name = "岗位id")
    private Long postId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String staffName;

    /** 姓名id */
    @Excel(name = "姓名id")
    private Long staffId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String userName;

    /** 类型 */
    @Excel(name = "类型")
    private String reportType;

    /** 事件 */
    @Excel(name = "事件")
    private String reportEvent;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setReportType(String reportType) 
    {
        this.reportType = reportType;
    }

    public String getReportType() 
    {
        return reportType;
    }
    public void setReportEvent(String reportEvent) 
    {
        this.reportEvent = reportEvent;
    }

    public String getReportEvent() 
    {
        return reportEvent;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("departmentName", getDepartmentName())
            .append("departmentId", getDepartmentId())
            .append("company", getCompany())
            .append("postId", getPostId())
            .append("postName", getPostName())
            .append("staffName", getStaffName())
            .append("staffId", getStaffId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("reportType", getReportType())
            .append("reportEvent", getReportEvent())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
